package com.CreationalPartterns.AbstractFactoryPattern.operation;


public class Div extends Operation {

	public double getResult(){
		if(Math.abs(super.getNum2()-0.0000000001)<0)
			System.out.println("error:the second number is 0!");
		return super.getNum1()/super.getNum2();
	}
}
